package cn.org.mrliu.ssm.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import cn.org.mrliu.ssm.common.web.vo.ResponseMessage;
import cn.org.mrliu.ssm.qq.QQMessageUtil;

@Controller
@RequestMapping("/qq")
public class QQController {
	@RequestMapping("/send")
	@ResponseBody
	public ResponseMessage send(String msg) {
		QQMessageUtil.send(null, "2042038868", msg);
		return new ResponseMessage("发送成功!");
	}
}
